<%@ page contentType="text/xml; charset=UTF-8" %>
<%@ page session="true" %>
<%@ page import="com.xr.common.Announce" %>

<html>

<head>
<% response.setHeader("Pragma","No-cache"); 
   response.setHeader("Cache-Control","no-cache"); 
  // response.setDateHeader("Expires",0); %>

</head>
<body>
<%
String state=request.getParameter("state");
//System.out.println("====="+state);
if(state.equals("0")){
Announce.getMessageFromDB(out);  
}
if(state.equals("1")){
Announce.getMessage(out);  
}

%>
</body>
</html>
